import http from "./http";

// 获取所有医生
export const api_doctor_doctornames=()=>http({
    url:"/doctor/doctornames",
    method:"get"
})


// 添加科室
export const api_department_add=(params)=>http({
    url:"/department/add",
    method:"get",
    params
})

// 获取科室列表
export const api_department_list=(params)=>http({
    url:"/department/list",
    method:"get",
    params
})

// 修改科室数据
export const api_department_edit=(params)=>http({
    url:"/department/edit",
    method:"get",
    params
})

// 删除科室数据
export const api_department_del=(params)=>http({
    url:"/department/del",
    method:"get",
    params
})

// 批量删除科室
export const api_department_batchdel=(params)=>http({
    url:"/department/batchdel",
    method:"get",
    params
})
// 查询科室
export const api_department_search=(params)=>http({
    url:"/department/search",
    method:"get",
    params
})